gsk: Allow adding a GL texture as a node content
authorEmmanuele Bassi <ebassi@gnome.org>
Fri, 12 Aug 2016 15:44:29 +0000 (16:44 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 18 Oct 2016 10:49:14 +0000 (11:49 +0100)
commit3bdd9c270afd15e7a983b8a5d703dbc7404dd9fb
tree1f3145fdf42c8ac15580754eef3314eabda0921a
parentce67336577fbb7bb854db91e41660dc72c178272
gsk: Allow adding a GL texture as a node content

If we already have a GL texture we definitely don't want to use
gdk_cairo_draw_from_gl() to draw on a Cairo context if we're going
to take the Cairo surface to which we draw and put it into an OpenGL
texture.
gsk/gskglrenderer.c
gsk/gskrendernode.c
gsk/gskrendernode.h
gsk/gskrendernodeprivate.h